//
//  SearchNavigationView.h
//  搜索功能
//
//  Created by Hello Cai on 2020/10/10.
//  Copyright © 2020 Hello Cai. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^SearchNavBackBlock)(void);
typedef void(^SearchTextBlock)(NSString *searchText);
typedef void(^SearchEditingTFBlock)(BOOL isEditing);

@interface SearchNavigationView : UIView

@property(nonatomic, strong)UITextField *searchTF;
@property(nonatomic, copy)SearchNavBackBlock navBackBlock;
@property(nonatomic, copy)SearchTextBlock searchTextBlock;
@property(nonatomic, copy)SearchEditingTFBlock editingTFBlock;

-(void)searchText:(NSString *)text;
@end

NS_ASSUME_NONNULL_END
